package com.ruoyi.api.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 应用详情视图对象 v_app_detail
 * 
 * @author ruoyi
 * @date 2025-01-15
 */
public class VAppDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 应用ID */
    private Long appId;

    /** 应用名称 */
    @Excel(name = "应用名称")
    private String appName;

    /** 应用描述 */
    @Excel(name = "应用描述")
    private String appDescription;

    /** 应用用户 */
    @Excel(name = "应用用户")
    private String appUser;

    /** 应用类型 */
    @Excel(name = "应用类型")
    private String appType;

    /** API密钥 */
    @Excel(name = "API密钥")
    private String apiKey;

    /** 密钥 */
    @Excel(name = "密钥")
    private String secretKey;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 设备API */
    @Excel(name = "设备API")
    private String deviceApi;

    /** 应用状态 */
    @Excel(name = "应用状态")
    private String appStatus;

    /** API名称 */
    @Excel(name = "API名称")
    private String apiName;

    /** API类型 */
    @Excel(name = "API类型")
    private String apiType;

    /** API地址 */
    @Excel(name = "API地址")
    private String apiUrl;

    /** API描述 */
    @Excel(name = "API描述")
    private String apiDescription;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 设备位置 */
    @Excel(name = "设备位置")
    private String deviceLocation;

    /** 设备主题 */
    @Excel(name = "设备主题")
    private String deviceSubject;

    public void setAppId(Long appId) 
    {
        this.appId = appId;
    }

    public Long getAppId() 
    {
        return appId;
    }
    public void setAppName(String appName) 
    {
        this.appName = appName;
    }

    public String getAppName() 
    {
        return appName;
    }
    public void setAppDescription(String appDescription) 
    {
        this.appDescription = appDescription;
    }

    public String getAppDescription() 
    {
        return appDescription;
    }
    public void setAppUser(String appUser) 
    {
        this.appUser = appUser;
    }

    public String getAppUser() 
    {
        return appUser;
    }
    public void setAppType(String appType) 
    {
        this.appType = appType;
    }

    public String getAppType() 
    {
        return appType;
    }
    public void setApiKey(String apiKey) 
    {
        this.apiKey = apiKey;
    }

    public String getApiKey() 
    {
        return apiKey;
    }
    public void setSecretKey(String secretKey) 
    {
        this.secretKey = secretKey;
    }

    public String getSecretKey() 
    {
        return secretKey;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setAppStatus(String appStatus) 
    {
        this.appStatus = appStatus;
    }

    public String getAppStatus() 
    {
        return appStatus;
    }
    public void setApiName(String apiName) 
    {
        this.apiName = apiName;
    }

    public String getApiName() 
    {
        return apiName;
    }
    public void setApiType(String apiType) 
    {
        this.apiType = apiType;
    }

    public String getApiType() 
    {
        return apiType;
    }
    public void setApiUrl(String apiUrl) 
    {
        this.apiUrl = apiUrl;
    }

    public String getApiUrl() 
    {
        return apiUrl;
    }
    public void setApiDescription(String apiDescription) 
    {
        this.apiDescription = apiDescription;
    }

    public String getApiDescription() 
    {
        return apiDescription;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setDeviceLocation(String deviceLocation) 
    {
        this.deviceLocation = deviceLocation;
    }

    public String getDeviceLocation() 
    {
        return deviceLocation;
    }
 public void setDeviceSubject(String deviceSubject) 
    {
        this.deviceSubject = deviceSubject;
    }

    public String getDeviceApi() 
    {
        return deviceApi;
    }

    public void setDeviceApi(String deviceApi) 
    {
        this.deviceApi = deviceApi;
    }


    public String  getDeviceSubject()
    {
        return deviceSubject;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("appId", getAppId())
            .append("deviceApi", getDeviceApi())
            .append("appName", getAppName())
            .append("appDescription", getAppDescription())
            .append("appUser", getAppUser())
            .append("appType", getAppType())
            .append("apiKey", getApiKey())
            .append("secretKey", getSecretKey())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("createTime", getCreateTime())
            .append("appStatus", getAppStatus())
            .append("apiName", getApiName())
            .append("apiType", getApiType())
            .append("apiUrl", getApiUrl())
            .append("apiDescription", getApiDescription())
            .append("deviceName", getDeviceName())
            .append("deviceLocation", getDeviceLocation())
            .append("deviceSubject", getDeviceSubject())
            .toString();
    }
}